home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7554 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.2 KB

  1. Path: solon.com!not-for-mail
  2. From: seebs@solutions.solon.com (Peter Seebach)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Schildt <- Advanced Books
  5. Date: 27 Feb 1996 06:50:25 -0600
  6. Organization: Usenet Fact Police (Undercover)
  7. Message-ID: <4guumh$ihe@solutions.solon.com>
  8. References: <8BA8405.02C70020DE.uuout@sourcebbs.com> <4g20q6$lro@redstone.interpath.net> <danpop.824685808@rscernix> <bnelsonDnFG3r.Ks6@netcom.com>
  9. NNTP-Posting-Host: solutions.solon.com
  10.  
  11. In article <bnelsonDnFG3r.Ks6@netcom.com>,
  12. Bob Nelson <bnelson@netcom.com> wrote:
  13. >Though not as likely as the answer offered above, he may have also been
  14. >influenced by an organization that favors the void main() approach:
  15. >The Free Software Foundation of Cambridge, MA. Most of their utilities
  16. >consistently declare main in this non-standard manner. It's rather
  17. >surprising that Stallman allows this form of ignorance to bear the GNU
  18. >banner. 
  19.  
  20. Not at all.  Stallman was seduced by the Dark Side.  Observe:
  21.  
  22. He feels it is fine to *assume* that int can hold *exactly* 32 bits.
  23. He feels it is fine to assume that all pointers have the same representation,
  24.   which is that of int.
  25. gcc, which *does* have a warning for main not returning int, disables it on
  26.   almost every platform.  (gcc-amigados does warn.  Which is funny because
  27.   AmigaDOS doesn't care, although it does use a return value when possible.)
  28. bash's libreadline does *not* use stdarg.h - but has alternative code to try:
  29.   1.  Using varargs.  2.  Pretending you've been called with 8 arguments and
  30.   hoping no one notices.
  31.  
  32. Amazingly, they still believe this garbage even though the alpha took
  33. weeks longer than it should have to port software to.
  34.  
  35. If you find this stupid or offensive, be sure to mail gnu@prep.ai.mit.edu
  36. explaining *why* it bothers you.
  37.  
  38. -s
  39. (Personally, although I will never use a DOS box in all probability, I find
  40. it deeply offensive that someone would write code which assumes int is 32
  41. bits.  DOS may not be desireable, but it is an important platform.)
  42. -- 
  43. Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
  44. C/Unix wizard -- C/Unix questions? Send mail for help.  No, really!
  45. FUCK the communications decency act.  Goddamned government.  [literally.]
  46. The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
  47.